package com.huluobo.a2203kotlindouyindemo.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.huluobo.a2203kotlindouyindemo.R
import com.huluobo.base.bean.SearchBean

/**
 *  Created by LC on 2024/7/12.
 */
class SearchAdapter(list: MutableList<SearchBean>) :
    BaseQuickAdapter<SearchBean, BaseViewHolder>(R.layout.item_search, list) {
    override fun convert(holder: BaseViewHolder, item: SearchBean) {
        holder.setText(R.id.item_search_tv, item.keyword)
    }
}